<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
    
<table class="ftable"  border="0" cellspacing="0" cellpadding="0">
        <thead>
        <tr>
            <th>编号</th>
            <th>充值单</th>
            <th>充值时间</th>
            <th>充值金额</th>
        </tr>
        </thead>
        <tbody>
         <c:choose>
		     <c:when test="${list.size()>0 }">
			  <c:forEach items="${list}" var="vo" varStatus="status">
			        <tr>
			            <td>${vo.id }</td>
			            <td>${vo.rechargeSn }</td>
			            <td><f:formatDate value="${vo.addTime }" pattern="yyyy-MM-dd HH:mm:SSS"/> </td>
			            <td><f:formatNumber type="currency" value="${vo.money }" pattern="0.00" maxFractionDigits="2"/></td>
			        </tr>
			  </c:forEach>
			</c:when>  
			<c:otherwise>
		         <tr>
		          <td colspan="4">暂无数据！</td>
		         </tr>
			</c:otherwise>
        </c:choose>	
        </tbody>
    </table>
    <input type="hidden" id="pageNum" name="pageNum" value="${pageNum }"/>
    <input type="hidden" id="pages" name="pages" value="${pages }"/>
     <input type="hidden" id="total" name="total" value="${total }"/>
      <input type="hidden" id="pageSize" name="pageSize" value="${pageSize }"/>